Range Constructor

Initializes a new instance of the Range class.
 

Parameters

from

Type: Number
The smallest value in the range.
Optional: True
to

Type: Number
The largest value in the range.
Optional: True
isFromInclusive

Type: Boolean
If from is included in the range.
Optional: True
isToInclusive

Type: Boolean
If to is included in the range.
Optional: True

Examples

The following example initializes a new instance of a Range object:

var newObject = new dundas.controls.Range();